package com.example.text.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.text.entity.ExamineEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.text.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 *
 *
 * @author lr
 * @email 1041914134@qq.com
 * @date 2020-07-27 09:19:31
 */
@Mapper
public interface ExamineDao extends BaseMapper<ExamineEntity> {

    //查询所有数据,按照降序
    IPage<ExamineEntity> selectPageVo(Page<ExamineEntity> page,int type);

    //根据编号查询所有数据,按照降序
    IPage<ExamineEntity> selectPageVoById(Page<ExamineEntity> page,int id,int type);

    //根据状态查询所有数据,按照降序
    IPage<ExamineEntity> selectPageVoByStatus(Page<ExamineEntity> page,int status,int type);

}
